package com.atxwq.shop.product.mapper;

import com.atxwq.shop.model.entity.product.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {
    /**
     * 查询一级分类
     * @return
     */
    List<Category> selectOneCategory();

    List<Category> findAll();
}
